<div class="list-group">
  {% for press_category in press_categories %}
  {% if press_category.press_category_id == press_category_id %} 
  <a href="{{ press_category.href }}" class="list-group-item active">{{ press_category.name }}</a> 
  {% if press_category.children %}
  {% for child in press_category.children %}
  {% if child.press_category_id == child_id %}
  <a href="{{ child.href }}" class="list-group-item active">&nbsp;&nbsp;&nbsp;- {{ child.name }}</a> 
  {% else %} 
  <a href="{{ child.href }}" class="list-group-item">&nbsp;&nbsp;&nbsp;- {{ child.name }}</a>
  {% endif %}
  {% endfor %}
  {% endif %}
  {% else %} <a href="{{ press_category.href }}" class="list-group-item">{{ press_category.name }}</a>
  {% endif %}
  {% endfor %}
</div>
